package com.heaboy.feedback.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseBasicEntity;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 学生签到对象 t_student_attendance
 * 请自行切换 BaseBasicEntity 和 BaseEntity
 * @author heaboy
 * @date 2024-02-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_student_attendance")
public class StudentAttendance extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type=IdType.AUTO)
    private Long id;

    /** 签到ID */
    @Excel(name = "签到ID")
    private Long attendanceId;

    /** 课ID */
    @Excel(name = "课ID")
    private Long lessonId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 签到状态码 */
    @Excel(name = "签到状态码")
    private Long statusCode;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signInTime;

}
